package org.jeecg.modules.system.upgrade.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.upgrade.entity.BikeUpgradeApp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: APP类型表(应用程序)
 * @Author: 月月鸟
 * @Date:   2021-07-14
 * @Version: V1.0
 */
public interface BikeUpgradeAppMapper extends BaseMapper<BikeUpgradeApp> {

    IPage<BikeUpgradeApp> queryPageList(Page<BikeUpgradeApp> page, @Param("app") BikeUpgradeApp bikeUpgradeApp);

    //根据appCode获取最新版本号
    String getNewVersion(String appCode);
}
